package com.seaboxdata.util;


import java.util.Map;
import org.apache.commons.lang3.StringUtils;

/**
 * @author
 * @create 2021-06-23 11:33
 **/
public class AssertMapHandler {
    public static Map<String,Object> isEmptyString(String str,Map<String,Object> resultMap,String errorMessage){
        if(StringUtils.isEmpty(str)){
            resultMap.put("retCode",1);
            resultMap.put("retMessage",errorMessage);
        }
        return resultMap;
    }

}
